import request from "@/utils/request";

// 查询账户流水列表
export function listBizAccountLog(query){
  return request({
    url: "/biz/bizAccountLog/list",
    method: "get",
    params: query
  })
}

// 查询账户流水详细
export function getBizAccountLog(id){
  return request({
    url: "/biz/bizAccountLog/" + id,
    method: "get"
  })
}

// 新增账户流水
export function addBizAccountLog(data){
  return request({
    url: "/biz/bizAccountLog",
    method: "post",
    data: data
  })
}

// 修改账户流水
export function updateBizAccountLog(data){
  return request({
    url: "/biz/bizAccountLog",
    method: "put",
    data: data
  })
}

// 删除账户流水
export function delBizAccountLog(id){
  return request({
    url: "/biz/bizAccountLog/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizAccountLog/findMaxSort",
    method: "get"
  })
}
// 导出账户流水
export function exportBizAccountLog (query){
  return request({
    url: "/biz/bizAccountLog/export",
    method: "get",
    params: query
  })
}
